MailPoet\Newsletter\Statistics\NewsletterStatisticsRepository A

Total Complexity 54
Dependencies 20
Dependents 9
Total lines 290
Lines of code 218
Logical lines of code 83
Comment lines 16
Methods 17
Properties 2

Methods 17

Method Rating Maintainability Complexity Lines of code
getStatisticCounts()
A
49 12 29
getWooCommerceRevenues()
A
45 10 41
getTotalSentCounts()
A
49 9 30
getBatchStatistics()
A
53 8 21
getChildrenCount()
S
61 2 14
getAllForSubscriber()
S
55 1 22
getStatisticsMachineOpenCount()
S
64 2 9
getStatistics()
S
62 1 12
getStatisticsOpenCount()
S
74 1 4
getEntityClassName()
S
82 1 3
getStatisticsUnsubscribeCount()
S
74 1 4
getStatisticsBounceCount()
S
74 1 4
getWooCommerceRevenue()
S
75 1 4
getStatisticsClickCount()
S
74 1 4
getTotalSentCount()
S
75 1 4
getStatisticsQuery()
S
68 1 8
__construct()
S
73 1 5